package com.yy.jhl.bean;

import java.io.Serializable;

/**
 * Created by libingn on 2017/12/6.
 */

public class LoginInfo implements Serializable {

    /**
     * token : ZWVfJ5ckOima4h+vY8/KzE4aLDxHsVFOSW/AisbzXzE1MTI3MTQ3MDY=
     * user : {"id":"12389482-3954-11e6-9e4f-000c29ced1a4","username":"lesorb","nickname":"owen1","mobile_phone":"0","email":"","birthday":"","sex":"","avatar":"","is_short_account":0,"company_id":"F8C9CD1C-8354-E86C-CA8E-89128AB2BCED","company":{"company_id":"F8C9CD1C-8354-E86C-CA8E-89128AB2BCED","company_name":"test","address":"","logo":"uploads/4d497006a9595d370308813e - 副本.jpg","contact":"","website":"","type":1,"telephone":"","status":1}}
     */

    private String token;
    private UserBean user;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public static class UserBean implements Serializable{
        /**
         * id : 12389482-3954-11e6-9e4f-000c29ced1a4
         * username : lesorb
         * nickname : owen1
         * mobile_phone : 0
         * email :
         * birthday :
         * sex :
         * avatar :
         * is_short_account : 0
         * company_id : F8C9CD1C-8354-E86C-CA8E-89128AB2BCED
         * company : {"company_id":"F8C9CD1C-8354-E86C-CA8E-89128AB2BCED","company_name":"test","address":"","logo":"uploads/4d497006a9595d370308813e - 副本.jpg","contact":"","website":"","type":1,"telephone":"","status":1}
         */

        private String id;
        private String username;
        private String nickname;
        private String mobile_phone;
        private String email;
        private String birthday;
        private String sex;
        private String avatar;
        private String is_short_account;
        private String company_id;
        private CompanyBean company;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getMobile_phone() {
            return mobile_phone;
        }

        public void setMobile_phone(String mobile_phone) {
            this.mobile_phone = mobile_phone;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getIs_short_account() {
            return is_short_account;
        }

        public void setIs_short_account(String is_short_account) {
            this.is_short_account = is_short_account;
        }

        public String getCompany_id() {
            return company_id;
        }

        public void setCompany_id(String company_id) {
            this.company_id = company_id;
        }

        public CompanyBean getCompany() {
            return company;
        }

        public void setCompany(CompanyBean company) {
            this.company = company;
        }

        public static class CompanyBean implements Serializable{
            /**
             * company_id : F8C9CD1C-8354-E86C-CA8E-89128AB2BCED
             * company_name : test
             * address :
             * logo : uploads/4d497006a9595d370308813e - 副本.jpg
             * contact :
             * website :
             * type : 1
             * telephone :
             * status : 1
             */

            private String company_id;
            private String company_name;
            private String address;
            private String logo;
            private String contact;
            private String website;
            private String type;
            private String telephone;
            private String status;
            private String contact_phone;

            public String getContact_phone() {
                return contact_phone;
            }

            public void setContact_phone(String contact_phone) {
                this.contact_phone = contact_phone;
            }

            public String getCompany_id() {
                return company_id;
            }

            public void setCompany_id(String company_id) {
                this.company_id = company_id;
            }

            public String getCompany_name() {
                return company_name;
            }

            public void setCompany_name(String company_name) {
                this.company_name = company_name;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public String getContact() {
                return contact;
            }

            public void setContact(String contact) {
                this.contact = contact;
            }

            public String getWebsite() {
                return website;
            }

            public void setWebsite(String website) {
                this.website = website;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getTelephone() {
                return telephone;
            }

            public void setTelephone(String telephone) {
                this.telephone = telephone;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }
        }
    }
}
